import request from '@/utils/request'

export function getList(params) {
  return request({
    url: '/course-web/classes/class/.jsonp?page=1&limit=100',
    method: 'get',
    params
  })
}
export const delTableRow = (courseId) => {
	  return request({
	    url: `/course-web/classes/class/deletebyid/${courseId}`,
	    method: 'get',
	  })
	}

export function searchList(params, id){
	  return request({
	    url: `/course-web/classes/class/findbyid/${id}`,
	    method: 'get',
	    params
	  })
	}